package cn.oms.emr.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("patient_diagnosis_record")
@ApiModel(value="PatientDiagnosisRecord对象", description="")
public class PatientDiagnosisRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增生成）(UUID)")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "病例号CODE（对应病例表）")
    @TableField("EMR_CODE")
    private String emrCode;

    @ApiModelProperty(value = "部位CODE（对应部位表）")
    @TableField("SITE_CODE")
    private String siteCode;

    @ApiModelProperty(value = "部位名称")
    @TableField("SITE_NAME")
    private String siteName;

    @ApiModelProperty(value = "症状CODE（对应症状字典）")
    @TableField("SYMPTOM_CODE")
    private String symptomCode;

    @ApiModelProperty(value = "症状名称")
    @TableField("SYMPTOM_NAME")
    private String symptomName;

    @ApiModelProperty(value = "诊断类型（1医生诊断 2检验诊断 3药师诊断 4其他诊断）")
    @TableField("DIAGNOSIS_TYPE")
    private Integer diagnosisType;

    @ApiModelProperty(value = "诊断详情")
    @TableField("DIAGNOSIS_DETAIL")
    private String diagnosisDetail;

    @ApiModelProperty(value = "诊断备注")
    @TableField("DIAGNOSIS_REMARK")
    private String diagnosisRemark;

    @ApiModelProperty(value = "创建人ID(对应医生表)")
    @TableField("CREATE_MAN_ID")
    private String createManId;

    @ApiModelProperty(value = "创建人名称（名字+科室）")
    @TableField("CREATE_MAN_NAME")
    private String createManName;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
